<template>
  <div class="container p-5 shadow border border-1">
    <div class="box">
        <i class="text-danger">Error!</i>
        <br>
        <button type="button" class="btn btn-warning" @click="back">返回</button>
    </div>
  </div>
</template>

<script setup>
import { useRouter } from "vue-router"



const router = useRouter()

const back = e =>{
  router.replace('/')
}

</script>

<style lang="scss" scoped>
.box{
    width: 500px;
}
i{
    font-size: 30px;
}

</style>